package com.guoguo.enums;

/**
 * Created by Administrator on 2017/9/20 0020.
 */
public enum SMSEnum {
    //发送彩信或者短信
    SMS_ACTION_SEND(0, "send"),
    //余额及已发送量
    SMS_ACTION_OVERAGE(1, "overage"),
    //状态报告、短信上行
    SMS_ACTION_QUERY(2, "query"),

    SMS_PARAMETER_USERID(10, "sms.userid"),
    SMS_PARAMETER_ACCOUNT(11, "sms.account"),
    SMS_PARAMETER_PASSWORD(12, "sms.password"),
    SMS_PARAMETER_EXTNO(13, "sms.extno"),

    SMS_SEND_URL(20, "sms.send.utf8.url"),
    SMS_SEND_JSON_URL(21, "sms.send.utf8.json.url"),
    SMS_SEND_JSON_EN_URL(21, "sms.send.utf8.json.en.url"),

    SMS_TEMPLATE_VALICODE(30, "【果果】验证码：{0}，正在注册账号，5分钟内有效。如非本人操作，请忽略。"),
    SMS_TEMPLATE_BINDPHONE(32, "【果果】验证码：{0}，正在绑定手机，5分钟内有效。如非本人操作，请忽略。"),
    SMS_TEMPLATE_PASSWORD(31, "【果果】验证码：{0}，正在找回密码，5分钟内有效。如非本人操作，请忽略。");


    private int id;
    private String value;

    SMSEnum(int id, String value) {
        this.id = id;
        this.value = value;
    }


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
